package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Table;

/**
 * <p>
 * 资源分类表
 * </p>
 *
 * @author wangchang
 * @since 2020-08-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(name = "t_resource_sort")
@ApiModel(value="ResourceSort对象", description="资源分类表")
public class ResourceSort implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "唯一uid")
    private String uid;

    @ApiModelProperty(value = "分类图片uid")
    private String fileUid;

    @ApiModelProperty(value = "分类名")
    private String sortName;

    @ApiModelProperty(value = "分类介绍")
    private String content;

    @ApiModelProperty(value = "点击数")
    private String clickCount;

    @ApiModelProperty(value = "状态")
    private Boolean status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "父UID")
    private String parentUid;

    @ApiModelProperty(value = "排序字段")
    private Integer sort;


}
